package cn.kgc.springboot.service.impl;

import cn.kgc.springboot.entity.Permission;
import cn.kgc.springboot.mapper.PermissionMapper;
import cn.kgc.springboot.service.PermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author: mosin
 * @version: v1.0  2022/8/12
 */
@Service
public class PermissionServiceImpl  implements PermissionService {
    @Autowired
    private PermissionMapper permissionMapper;
    @Override
    public Permission selectByPerId(Integer id) {
        Permission permission = permissionMapper.selectByPerId(id);
        return permission;
    }
}
